/* PMS客户接口 */
import {
  request
} from './request.js'
// 获取客户列表信息
export function GetUser(params) {
  return request({
    url: 'supplier/hotel-pms-user/list',
    method: 'GET',
    params
  })
}
/* 
GET 客户详情
POST 添加客户
PUT 编辑客户
*/
export function PMS_user(params, method) {
  return request({
    url: 'supplier/hotel-pms-user',
    method,
    params
  })
}
// 客户查单
export function user_order(params) {
  return request({
    url: 'supplier/hotel-pms-user/order',
    method: 'GET',
    params
  })
}
// 客户拉黑
export function user_blacklist(params) {
  return request({
    url: 'supplier/hotel-pms-user/blacklist',
    method: 'PUT',
    params
  })
}